package com.jic.order.request;

import com.jic.common.base.vo.AdminOperate;
import com.jic.common.base.vo.Page;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class OrderQueryPage extends Page {

	private AdminOperate adminOperate;

	// 订单编号
	private String orderNo;
	// 订单父编号
	private String parentOrderNo;
	// 请求流水号
	private String serialNo;
	// 订单状态，初始化、确认收货、已完成、已关闭
	private Integer orderStatus;
	// 购买人真实名称
	private String buyerRealname;
	// 冗余-销售渠道
	private Integer saleChannel;
	// 店铺名称
	private String storeName;
	// 商户名称
	private String merchantName;
	// 订单标签，VIP、紧急、特别、关注、搁置
	private Integer orderTag;
	// 下单时间-开始
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date buyTimeStart;
	// 下单时间-结束
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date buyTimeEnd;

	@ApiModelProperty(value = "商户code")
	private String merchantCode;

	@ApiModelProperty(value = "来源渠道（0-全部 1-APP 2-商城小程序 3-企业微信 4-We2000公众号 5-商城公众号 6-其他）")
	private Integer sources;

	@ApiModelProperty(value = "收货人名字")
	private String receiverName;

	@ApiModelProperty(value = "收货人手机号")
	private  String consigneePhone;

	@ApiModelProperty(value = "商品名称")
	private String goodsName;

	@ApiModelProperty(value = "商品编码")
	private String commodityCode;

	@ApiModelProperty(value = "订单类型（0-全部 1-积分订单 2-普通订单）")
	private  Integer orderTypeb;

	@ApiModelProperty(value = "收货人省id")
	private Long receiverProvinceId;

	@ApiModelProperty(value = "收货人市id")
	private Long receiverCityId;

	@ApiModelProperty(value = "收货人区/县id")
	private Long receiverCountryId;

	@ApiModelProperty(value = "订单来源（0-全部 1-拼团 2-秒杀 3-预售 4-抽奖）")
	private Integer orderSources;

}
